#ifndef _config_
#define _config_

#ifndef _WINDOWS
#define DEV_MODEM  "/dev/com3"
#else
#define DEV_MODEM  "/dev/com4"
#endif


#ifdef __arm
#define DEV_PINPAD "/dev/com5"
#else
#define DEV_PINPAD "/dev/com2"
#endif



#define MAX_COMM_PORTS   4

/* Protocol specification is standardized using the following equates.   */
//#define P_char_mode   0 /* Character mode: each input char is an event */
//#define P_old_cust    1 /* Old-style custom protocol specifier: don't use! */
#define P_pakt_mode   2 /* Packet mode: input bounded by pakt_stx,_etx,_ct */
#define P_visa1gen    4 /* Visa First Generation dial terminal protocol    */

#define TRAP_MODEM_NO_CARRIER    40

struct trap_mask { unsigned char a[8]; };

/* Exception Bit Masks - GENERAL (range 1 ... 0x8000) */
#define XMIT_FAILURE         1
#define PACKET_MADEIT        2
#define BAD_LINE             4
#define STREAMING_ERR        8
#define FIRST_POLL           0x10000
#define EMPTY_REJECT_Q       15 /* remove & discard all packets on reject q */
#define SET_EXCEPTION_MASK   29 /* Controls what causes exception traps. */
#define GET_EXCEPTION_MASK   10 /* Reads back the exception mask. */
#define GET_EXCEPTION_STATUS 11 /* Reads back the exception status. */
#define GET_NODE_LIST        12 /* Reads node list into user buffer */
#define GET_LAN_ACK_LIST     13 /* Returns pointer to node_list */
#define GET_POLL_COUNT       15 /* Reads poll count number */
#define P_3201_fdx           21
#define HALF_SECOND         250

#endif /* _config_ */
